<!--{if $integral_enabled && $goods_info.total_integral_max_exchange gt 0 && $member_info.integral gt 0}-->
<div class="w price-promotion mt10 mb10 f60">
    <p class="mb10 mt10">
        <input type="button" class="btn-allow-coupon center use_integral_button" value="{$lang.use_integral}" />
    </p>
    <p class="allow-coupon border padding10 mb10 hidden clearfix">
        <span class="note">
            {$lang.avaliable_integral}<em style="font-weight:bold;color:red;padding: 0 5px;">{$member_info.integral}</em>,
            {$lang.more_use_integral}<em style="font-weight:bold;color:red;padding: 0 5px;">{$goods_info.total_integral_max_exchange}</em>
            {$lang.integral_ratio}<em style="font-weight:bold;color:red;padding: 0 5px;">{$integral_seller|default:0}</em>
        </span>
        <input type="text" name="use_integral[{$key}]" id="use_integral_{$key}" onkeyup="set_order_amount_total({$key});" class="text use_integral" />
    </p>
</div>
<!--{/if}-->

{if $goods_info.allow_coupon}

<div class="w price-promotion mt10 mb10 f60">
    <p class="mb10 mt10">
        <input type="button" class="btn-allow-coupon center use_coupon" data-store_id="{$key}" value="{$lang.use_coupon}" />
    </p>
    <p class="allow-coupon border padding10 mb10 hidden clearfix">
        <select id="coupon_sn_{$key}" name="coupon_sn[{$key}]" onchange="set_order_amount_total({$key});"  >
            <option value="">{$lang.pls_coupon}</option>
            {foreach from=$goods_info.coupon_list item=coupon}
            <option value="{$coupon.coupon_sn}">SN:{$coupon.coupon_sn}({$coupon.coupon_value|price})</option>
            {/foreach}
        </select>
        <span class="note">{$lang.coupon_note}{$lang.colon}</span>
    </p>
</div>
{/if}



<div class="make_sure w mb10">
    <p>
        <span class="ml20">{$lang.order_amount}{$lang.colon}</span>
        <strong  id="order_amount_{$key}" class="order_amount">{$goods_info.amount|price}</strong>
    </p>
</div>